import {memo} from 'react';

const Child2 = (props)=>{
    console.log(props.arr)
    return (
        <div>
            {props.arr.join(',')}
            <h1>子组件2</h1>
        </div>
    )
}

export default memo(Child2);